const router = require('koa-router')()

const {
  getToken,
  logout,
  prepareAuth
} = require('../controllers/auth')

router.get('/auth', getToken)
router.post('/logout', logout)
router.get('/prepare-auth', prepareAuth)

module.exports = router